﻿<phone:PhoneApplicationPage 
    x:Class="KeyDoor.Searcher.index"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="696"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" VerticalAlignment="Bottom">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent" Margin="0,0,0,-72">
        <!--Pivot Control-->
        <controls:Pivot Name="pivotTitle" Title="Lifestyle">
            <!--Pivot item overall-->
            <controls:PivotItem x:Name="pvtOverall" Header="overview">
                <Grid>
                    <TextBlock Name="lblRating" Foreground="{StaticResource PhoneAccentBrush}" FontSize="100" Margin="10,-38,302,520" Height="125" Width="144" FontFamily="Segoe WP Light" FontWeight="Thin" Text="..." />
                    <TextBlock Name="lblRatingDef" Text="According to government data." Height="53" Margin="10,74,304,480" Width="142" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" />

                    <TextBlock Name="lblRatingStarDef" Text="Ratings from data only" Height="24" Margin="149,140,137,443" Width="170" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" Foreground="#FF656565" />
						<StackPanel Name="rat1" Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,-5,276,592">
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="1" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Name="rat2" Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,26,276,561" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="2" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Name="rat3" Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,56,276,531" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="3" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Name="rat4" Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,86,276,501" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="4" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Name="rat5" Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,116,276,471" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="5" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>

                    <TextBlock Name="lblLocationOverview" Text="Location Overview" Margin="14,188,236,385" Height="34" Width="206" Foreground="#FF656565" FontFamily="Segoe WP" FontSize="24" />
                    
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="16,257,164,0" Name="lblCrimeOverview" Text="Total crime in area" TextWrapping="Wrap" Width="276" VerticalAlignment="Top" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="187,258,131,0" Name="satCrimeOverview" TextWrapping="Wrap" Width="138" VerticalAlignment="Top" d:LayoutOverrides="Height" />
                    
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="29" Margin="15,306,0,272" Name="lblSchoolsOverview" Text="Number of schools in area" TextWrapping="Wrap" Width="333" HorizontalAlignment="Left" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="26" Margin="256,307,62,274" Name="satSchoolsOverview" TextWrapping="Wrap" Width="138" />
                    
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="29" Margin="16,355,0,223" Name="lblLifeExp" Text="Average life expectancy" TextWrapping="Wrap" Width="371" HorizontalAlignment="Left" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="26" Margin="0,355,85,226" Name="satLifeExp" TextWrapping="Wrap" Width="138" HorizontalAlignment="Right" />
                </Grid>
            </controls:PivotItem>

            <!--Pivot item crime-->
            <controls:PivotItem x:Name="pvtCrime" Header="crime">
                <Grid>
                	<TextBlock x:Name="lblCrimRating" Foreground="{StaticResource PhoneAccentBrush}" FontSize="100" Margin="10,-38,302,520" Height="125" Width="144" FontFamily="Segoe WP Light" FontWeight="Thin" Text="..." />
                	<TextBlock Text="Average crime rate" Height="53" Margin="10,74,310,480" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" />

                	<TextBlock Text="Ratings from 2010/2011 crime data" Height="24" Margin="149,140,27,443" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" Foreground="#FF656565" />
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,-5,276,592">
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="1" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,26,276,561" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="2" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,56,276,531" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="3" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,86,276,501" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="4" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,116,276,471" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="5" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,398" Text="Burglary (non household) " TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="0,0,59,400" Name="crmBurgNonHse" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height" HorizontalAlignment="Right" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,364" Text="Burglary (household) " TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="219,0,99,366" x:Name="crmBurgHse" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,329" Text="Criminal damage" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="184,0,134,332" x:Name="crmCrmDmg" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,294" Text="Drug offences" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="160,0,158,297" x:Name="crmDrug" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,259" Text="Fraud and forgery" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="193,0,125,262" x:Name="crmFraudnForge" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,224" Text="Offences against vehicles" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="0,0,64,227" x:Name="crmOffAngVehi" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Width, Height" HorizontalAlignment="Right" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,189" Text="Other offences" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="162,0,156,192" x:Name="crmOthOff" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,154" Text="Other theft offences" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="212,0,106,157" x:Name="crmThftOff" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,119" Text="Robbery" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="109,0,209,122" x:Name="crmRobbry" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="14,0,166,84" Text="Sexual offences" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="173,0,145,87" x:Name="crmSexyTiem" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                </Grid>
            </controls:PivotItem>

            <!--Pivot item education-->
            <controls:PivotItem x:Name="pvtEdu" Header="education">
                <Grid>
                	<TextBlock Name="lblEduRating" Foreground="{StaticResource PhoneAccentBrush}" FontSize="100" Margin="10,-38,302,520" Height="125" Width="144" FontFamily="Segoe WP Light" FontWeight="Thin" Text="..." />
                    <TextBlock Text="Average school rating" Height="53" Margin="10,74,304,480" Width="142" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" />

                    <TextBlock Text="Ratings from Exams/Happiness" Height="24" Margin="149,140,79,443" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" Foreground="#FF656565" />
						<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,-5,276,592">
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="1" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,26,276,561" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="2" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,56,276,531" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="3" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,86,276,501" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="4" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>
	                    <StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,116,276,471" >
	                        <TextBlock FontSize="15" Margin="5,-1,0,0" Text="5" />
	                        <Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
	                    </StackPanel>

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,289,168,283" Text="Total school's in area " TextWrapping="Wrap" Width="276" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="205,290,113,285" Name="eduTotalSch" Text="" TextWrapping="Wrap" Width="138" />

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,0,168,245" Text="Total number of pupils " TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="220,0,98,248" Name="eduTotalPupl" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,0,168,209" Text="Total primary schools " TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="213,0,105,212" Name="eduTotalPrimary" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,0,168,172" Text="Total secondary schools " TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="0,0,86,175" Name="eduTotalSecondary" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Width, Height" HorizontalAlignment="Right" />


                    <TextBlock Text="*All school's within 2 mile radius*" Foreground="#FF626262" Height="36" Margin="74,440,86,131" Width="296" />
					<Button Content="View all Schools on map" Width="370" Height="80" Margin="37,0,49,68" VerticalAlignment="Bottom" d:LayoutOverrides="Height" Click="Button_Click" />
					<TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,180,0,0" Text="Top rated school" TextWrapping="Wrap" Width="215" VerticalAlignment="Top" d:LayoutOverrides="Height" HorizontalAlignment="Left" />
					<TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="178,180,0,0" x:Name="eduTopRatedName" Text="" TextWrapping="Wrap" VerticalAlignment="Top" d:LayoutOverrides="Height" />
					<TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="12,215,201,0" Text="Top rated school rating" TextWrapping="Wrap" VerticalAlignment="Top" d:LayoutOverrides="Height" />
					<TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="0,215,0,0" x:Name="eduTopRatedNameRating" Text="" TextWrapping="Wrap" VerticalAlignment="Top" d:LayoutOverrides="Height" HorizontalAlignment="Right" Width="220" />       
				</Grid>
            </controls:PivotItem>
            
            <!--Pivot item mortality-->
            <controls:PivotItem x:Name="pvtMort" Header="life expectancy">
                <Grid>
                	<TextBlock x:Name="lblMortRating" Foreground="{StaticResource PhoneAccentBrush}" FontSize="100" Margin="10,-38,302,520" Height="125" Width="144" FontFamily="Segoe WP Light" FontWeight="Thin" Text="..." />
                	<TextBlock Text="Average life expectancy" Height="53" Margin="10,74,310,480" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" />

                	<TextBlock Text="Ratings from 2010/2011 mortality data" Height="24" Margin="149,140,27,443" TextWrapping="Wrap" FontSize="16.5" FontFamily="Segoe WP" Foreground="#FF656565" />
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,-5,276,592">
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="1" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,26,276,561" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="2" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,56,276,531" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="3" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,86,276,501" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="4" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>
                	<StackPanel Width="30" Height="20" Background="{StaticResource PhoneAccentBrush}" Margin="150,116,276,471" >
                		<TextBlock FontSize="15" Margin="5,-1,0,0" Text="5" />
                		<Image Width="15" Margin="2,-19,-10,0" Source="/Lifestyle;component/Images/White/star.png" />
                	</StackPanel>

                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="10,0,0,343" Text="Male life expectancy" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" d:LayoutOverrides="Height" HorizontalAlignment="Left" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="204,0,114,345" x:Name="lyfMale" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="10,0,0,293" Text="Female life expectancy" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" HorizontalAlignment="Left" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="227,0,91,294" x:Name="lyfFemale" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="10,0,0,211" Text="Local population" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" HorizontalAlignment="Left" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="173,0,145,214" x:Name="lyfPop" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="#FF656565" Height="35" Margin="10,0,0,161" Text="Number of local houses" TextWrapping="Wrap" Width="276" VerticalAlignment="Bottom" HorizontalAlignment="Left" d:LayoutOverrides="VerticalAlignment, Height" />
                    <TextBlock FontFamily="Segoe WP" FontSize="20" Foreground="{StaticResource PhoneAccentBrush}" Height="32" Margin="0,0,83,164" x:Name="lyfLclHouse" Text="" TextWrapping="Wrap" Width="138" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment, Width, Height" HorizontalAlignment="Right" />
                </Grid>
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True">
            <shell:ApplicationBarIconButton x:Name="btnPin" IconUri="/Images/Bar/pin.png" Text="Pin" Click="btnPin_Click" />
            <shell:ApplicationBarIconButton x:Name="btnFav" IconUri="/Images/Bar/favs.png" Text="Favourite" Click="btnFav_Click" />
			<shell:ApplicationBarIconButton x:Name="btnMap" IconUri="/Images/Bar/map_eu.png" Text="View on Map" Click="btnMap_Click" />
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
    
</phone:PhoneApplicationPage>